package myArrayList;

public class Test {
    public static void main(String[] args) {
        MyArraylist myArraylist = new MyArraylist();
        myArraylist.add(1);
        myArraylist.add(2);
        myArraylist.add(3);
        myArraylist.add(4);
        myArraylist.add(5);
        myArraylist.add(6);
        myArraylist.add(7);
        myArraylist.add(8);
        myArraylist.add(9);
        myArraylist.add(10);
        myArraylist.add(11);
        //myArraylist.add(12, 199);
        myArraylist.display();
        //System.out.println(myArraylist.contains(16));
        //System.out.println(myArraylist.indexOf(99));
        //System.out.println(myArraylist.get(11));
        //myArraylist.set(19, 1999);
        //myArraylist.display();
        //myArraylist.remove(4);
        //myArraylist.display();
        System.out.println(myArraylist.size());
        myArraylist.clear();
        myArraylist.display();
    }
}
